import axios from 'axios';

export function searchBlogs(keyword) {
    return axios.get('/blog/search', {
        params: { keyword }
    }).then(resp => resp.data);
}